<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 *
 * @package tiffanyturnham
 */

get_header(); ?>
<?php
	global $NHP_Options;
	$options_array = $NHP_Options->get('radio_img');
?>
	<div class="sixteen columns">
		<?php if($options_array == '2'):	?>
		<div class="sidebar  left">
			<?php get_sidebar(); ?>
		</div>
		<?php endif; ?>
		<div>
			<?php if($options_array != '1'):?>
				<div class="content-area">
					<?php	else :	?>
					<?php endif; ?>
					<div id="primary">
						<main id="main" class="site-main" role="main">
							<?php if ( have_posts() ) : ?>
								<?php woocommerce_content(); ?>
							<?php endif; ?>
						</main><!-- #main -->
					</div>
			<?php if($options_array == '3'): ?>
			<div class="sidebar right">
				<?php get_sidebar(); ?>
			</div>
			<?php endif; ?>
		</div>
	</div>	
<?php get_footer(); ?>